package cn.com.dhc.danlu.delegate.callback;

import android.support.annotation.NonNull;

import java.util.List;

/**
 * Created by wuhaiyang on 2016/9/22.
 * 通用上拉&下拉刷新接口
 */
public interface IListDataCallback extends IBaseView {
    /**
     * @param datas
     *         may be empty
     */
    void onSuccess (@NonNull List datas, boolean isRefresh);

    void onError (@NonNull String errorInfo, boolean isRefresh);
}
